from system.action import Action
from system.object import Object
import random

class Game(Action):
    def run(self, args):
        speed = args.get('speed',10)
        for i in range(args.get("numRocks",100)):
            vel = random.uniform(-1,1) * speed, random.uniform(-1,1) * speed
            Object("rock", include = 'rock.obj', vars = {"vel": vel})
